using System.Collections.Generic;
using UnityEngine;

namespace Game.Board
{
    public class TileMoveEvent
    {
        public TileMoveEvent(IEnumerable<TileMoveData> tileMoves)
        {
            TileMoves = tileMoves;
        }

        public IEnumerable<TileMoveData> TileMoves { get; }
    }

    public class TileMoveData
    {
        public TileMoveData(Vector2Int tileIndex, Vector2 endPosition, float duration, float delaySecond)
        {
            TileIndex = tileIndex;
            EndPosition = endPosition;
            Duration = duration;
            DelaySecond = delaySecond;
        }

        public Vector2Int TileIndex { get; }
        public Vector2 EndPosition { get; }
        public float Duration { get; }
        public float DelaySecond { get; }
    }
}